package com.example.xinli.service;

import com.baomidou.mybatisplus.extension.api.R;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.xinli.domain.entity.Inter;
import com.example.xinli.domain.vo.InterSubmitVo;
import com.example.xinli.domain.vo.ResponseBean;
import com.example.xinli.domain.vo.InterStartVo;

public interface IInterService extends IService<Inter> {
    public ResponseBean getAllInterPages(int interId);
    public ResponseBean getInterInfo(int interId);
    public ResponseBean getAllUserInter(String userId);
    public ResponseBean getInterPageById(int interId, int pageId);
    public ResponseBean getFinishedUserInter(String userId);
    public ResponseBean getUnfinishedUserInter(String userId);
    public ResponseBean startInter(InterStartVo interStartVo) throws Exception;
    public ResponseBean submitInter(InterSubmitVo interSubmitVo);
    public ResponseBean checkInterAvailability(String userId, int interId);
    public ResponseBean getInterReadyTime(String userId, int interId);
    public ResponseBean getUserGoal(String userId);
}

